/*
 * Amkai Enterprise Solution (AES.) 
 * Copyright 2004 by Amkai(TM), Inc.
 * www.amkai.com
 * 
 * Project: webservice
 * Package: com.amkai.aes.webservice.binary.objecthandler
 * File: VersionTitleAndSupportedVersionsGetterHandler.java
 * Created: 2008.01.30. 11:28:15
 * Author: Keri Kornel (keri.kornel)
 * 
 */
package com.amkai.aes.webservice.binary.objecthandler;

import java.io.BufferedReader;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.Serializable;

import com.amkai.aes.aescommon.AESSettings;
import com.amkai.aes.aescommon.ClientSettings;
import com.amkai.aes.aescommon.service.binary.job.VersionTitleAndSupportedVersionsGetterJob;
import com.amkai.aes.aescommon.service.result.VersionTitleAndSupportedVersionsGetterResult;
import com.amkai.aes.webservice.binary.JobObjectHandler;
import com.amkai.common.base.aoconfig.schema.generated.PropertyType;

/**
 * @author K�ri Korn�l
 *
 */
public class VersionTitleAndSupportedVersionsGetterHandler implements
		JobObjectHandler<VersionTitleAndSupportedVersionsGetterJob, Serializable, VersionTitleAndSupportedVersionsGetterResult> {

	@Override
	public VersionTitleAndSupportedVersionsGetterResult process(VersionTitleAndSupportedVersionsGetterJob job,
			Serializable object) throws Exception {
		VersionTitleAndSupportedVersionsGetterResult versionTitleAndSupportedVersions = new VersionTitleAndSupportedVersionsGetterResult();
		versionTitleAndSupportedVersions.setSupportedVersions(AESSettings.getServerSettings().getAmkaiOfficeConfig().getRuntime().getCustomization().getSupportedVersions());
		return versionTitleAndSupportedVersions;
	}

}
